/***
 *
 * 定义白名单路由页面
 * @type {*[]}
 */
const WhiteListRouter = [
    {
        path: '/login',
        name: 'login',
        component: () => import('@pages/login'),
        meta:{title:'登录'},
    },

    {
        path: '/bigData',
        name: 'bigData',
        component: () => import('@pages/bigData'),
        redirect:'/bigData/video',
        meta:{ baseUri:true },
        children:[
            {
                path: 'video',
                name: 'bigData_video',
                component: () => import('@pages/bigData/video'),
                meta:{title:'视频'},
            },
            {
                path: 'equipment',
                name: 'bigData_equipment',
                component: () => import('@pages/bigData/equipment'),
                meta:{title:'药械'},
            },
            {
                path: 'food',
                name: 'bigData_food',
                component: () => import('@pages/bigData/food'),
                meta:{title:'食品'},
            },
        ]
    }
]

export default WhiteListRouter